package com.evon.yardmanagement.export;

import java.io.File;
import java.util.List;

import org.apache.poi.hssf.usermodel.HSSFCell;

import com.evon.yardmanagement.model.BaseModel;

public interface ImportableData<T extends BaseModel> extends ExportableData {
	/**
	 * Return the data of the cell @row and @column
	 * @param row
	 * @param column
	 * @return
	 */
	public void setValueAt(int row, int column, Object value);
	
	/**
	 * File which has to be imported.
	 * @return
	 */
	public File getFileToImport();
	
	/**
	 * File which has to be imported.
	 * @return
	 */
	public void setFileToImport(File fileToImport);
	
	/**
	 * return the imported data
	 * @return
	 */
	public List<T> getData();
}
